-- GENERATED SPELL FOR [Rogue Ice Thistle] --


function spell0_7457(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7457', 8000, 1)
end

function Sorts_7457(pUnit, Event)
local choix_sorts_7457 = math.random(0, 0)
if choix_sorts_7457 == 0 then
pUnit:RegisterEvent('spell0_7457', 1, 1)
end
end

function mob7457_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7457', math.random(1500, 3000), 1)
end

function mob7457_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7457_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7457_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7457, 1, 'mob7457_Action')
RegisterUnitEvent(7457, 2, 'mob7457_Leave')
RegisterUnitEvent(7457, 3, 'mob7457_Kill')
RegisterUnitEvent(7457, 4, 'mob7457_Die')
